Optimal. Leaf size=348 \[ \frac {a^3 (e+f x)^2}{2 b^4 f}-\frac {a^2 f \cosh (c+d x)}{b^3 d^2}+\frac {a^2 (e+f x) \sinh (c+d x)}{b^3 d}-\frac {a^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b^4 d^2}-\frac {a^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b^4 d^2}-\frac {a^3 (e+f x) \log \left (\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}+1\right )}{b^4 d}-\frac {a^3 (e+f x) \log \left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}+1\right )}{b^4 d}+\frac {a f \sinh (c+d x) \cosh (c+d x)}{4 b^2 d^2}-\frac {a (e+f x) \sinh ^2(c+d x)}{2 b^2 d}-\frac {a f x}{4 b^2 d}-\frac {f \cosh ^3(c+d x)}{9 b d^2}+\frac {f \cosh (c+d x)}{3 b d^2}+\frac {(e+f x) \sinh ^3(c+d x)}{3 b d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.53, antiderivative size = 348, normalized size of antiderivative = 1.00, number of steps used = 18, number of rules used = 11, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.344, Rules used = {5579, 5446, 2633, 2635, 8, 3296, 2638, 5561, 2190, 2279, 2391} \[ -\frac {a^3 f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b^4 d^2}-\frac {a^3 f \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}\right )}{b^4 d^2}-\frac {a^2 f \cosh (c+d x)}{b^3 d^2}-\frac {a^3 (e+f x) \log \left (\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}+1\right )}{b^4 d}-\frac {a^3 (e+f x) \log \left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}+1\right )}{b^4 d}+\frac {a^2 (e+f x) \sinh (c+d x)}{b^3 d}+\frac {a^3 (e+f x)^2}{2 b^4 f}+\frac {a f \sinh (c+d x) \cosh (c+d x)}{4 b^2 d^2}-\frac {a (e+f x) \sinh ^2(c+d x)}{2 b^2 d}-\frac {a f x}{4 b^2 d}-\frac {f \cosh ^3(c+d x)}{9 b d^2}+\frac {f \cosh (c+d x)}{3 b d^2}+\frac {(e+f x) \sinh ^3(c+d x)}{3 b d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2190
Rule 2279
Rule 2391
Rule 2633
Rule 2635
Rule 2638
Rule 3296
Rule 5446
Rule 5561
Rule 5579
Rubi steps
\begin {align*} \int \frac {(e+f x) \cosh (c+d x) \sinh ^3(c+d x)}{a+b \sinh (c+d x)} \, dx &=\frac {\int (e+f x) \cosh (c+d x) \sinh ^2(c+d x) \, dx}{b}-\frac {a \int \frac {(e+f x) \cosh (c+d x) \sinh ^2(c+d x)}{a+b \sinh (c+d x)} \, dx}{b}\\ &=\frac {(e+f x) \sinh ^3(c+d x)}{3 b d}-\frac {a \int (e+f x) \cosh (c+d x) \sinh (c+d x) \, dx}{b^2}+\frac {a^2 \int \frac {(e+f x) \cosh (c+d x) \sinh (c+d x)}{a+b \sinh (c+d x)} \, dx}{b^2}-\frac {f \int \sinh ^3(c+d x) \, dx}{3 b d}\\ &=-\frac {a (e+f x) \sinh ^2(c+d x)}{2 b^2 d}+\frac {(e+f x) \sinh ^3(c+d x)}{3 b d}+\frac {a^2 \int (e+f x) \cosh (c+d x) \, dx}{b^3}-\frac {a^3 \int \frac {(e+f x) \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx}{b^3}+\frac {f \operatorname {Subst}\left (\int \left (1-x^2\right ) \, dx,x,\cosh (c+d x)\right )}{3 b d^2}+\frac {(a f) \int \sinh ^2(c+d x) \, dx}{2 b^2 d}\\ &=\frac {a^3 (e+f x)^2}{2 b^4 f}+\frac {f \cosh (c+d x)}{3 b d^2}-\frac {f \cosh ^3(c+d x)}{9 b d^2}+\frac {a^2 (e+f x) \sinh (c+d x)}{b^3 d}+\frac {a f \cosh (c+d x) \sinh (c+d x)}{4 b^2 d^2}-\frac {a (e+f x) \sinh ^2(c+d x)}{2 b^2 d}+\frac {(e+f x) \sinh ^3(c+d x)}{3 b d}-\frac {a^3 \int \frac {e^{c+d x} (e+f x)}{a-\sqrt {a^2+b^2}+b e^{c+d x}} \, dx}{b^3}-\frac {a^3 \int \frac {e^{c+d x} (e+f x)}{a+\sqrt {a^2+b^2}+b e^{c+d x}} \, dx}{b^3}-\frac {\left (a^2 f\right ) \int \sinh (c+d x) \, dx}{b^3 d}-\frac {(a f) \int 1 \, dx}{4 b^2 d}\\ &=-\frac {a f x}{4 b^2 d}+\frac {a^3 (e+f x)^2}{2 b^4 f}-\frac {a^2 f \cosh (c+d x)}{b^3 d^2}+\frac {f \cosh (c+d x)}{3 b d^2}-\frac {f \cosh ^3(c+d x)}{9 b d^2}-\frac {a^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b^4 d}-\frac {a^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b^4 d}+\frac {a^2 (e+f x) \sinh (c+d x)}{b^3 d}+\frac {a f \cosh (c+d x) \sinh (c+d x)}{4 b^2 d^2}-\frac {a (e+f x) \sinh ^2(c+d x)}{2 b^2 d}+\frac {(e+f x) \sinh ^3(c+d x)}{3 b d}+\frac {\left (a^3 f\right ) \int \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) \, dx}{b^4 d}+\frac {\left (a^3 f\right ) \int \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) \, dx}{b^4 d}\\ &=-\frac {a f x}{4 b^2 d}+\frac {a^3 (e+f x)^2}{2 b^4 f}-\frac {a^2 f \cosh (c+d x)}{b^3 d^2}+\frac {f \cosh (c+d x)}{3 b d^2}-\frac {f \cosh ^3(c+d x)}{9 b d^2}-\frac {a^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b^4 d}-\frac {a^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b^4 d}+\frac {a^2 (e+f x) \sinh (c+d x)}{b^3 d}+\frac {a f \cosh (c+d x) \sinh (c+d x)}{4 b^2 d^2}-\frac {a (e+f x) \sinh ^2(c+d x)}{2 b^2 d}+\frac {(e+f x) \sinh ^3(c+d x)}{3 b d}+\frac {\left (a^3 f\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{a-\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{b^4 d^2}+\frac {\left (a^3 f\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{b^4 d^2}\\ &=-\frac {a f x}{4 b^2 d}+\frac {a^3 (e+f x)^2}{2 b^4 f}-\frac {a^2 f \cosh (c+d x)}{b^3 d^2}+\frac {f \cosh (c+d x)}{3 b d^2}-\frac {f \cosh ^3(c+d x)}{9 b d^2}-\frac {a^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b^4 d}-\frac {a^3 (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b^4 d}-\frac {a^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b^4 d^2}-\frac {a^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b^4 d^2}+\frac {a^2 (e+f x) \sinh (c+d x)}{b^3 d}+\frac {a f \cosh (c+d x) \sinh (c+d x)}{4 b^2 d^2}-\frac {a (e+f x) \sinh ^2(c+d x)}{2 b^2 d}+\frac {(e+f x) \sinh ^3(c+d x)}{3 b d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.50, size = 447, normalized size = 1.28 \[ -\frac {72 a^3 d e \log (a+b \sinh (c+d x))-72 a^3 c f \log (a+b \sinh (c+d x))-36 a^3 c^2 f-72 a^3 c d f x-36 a^3 d^2 f x^2-72 a^2 b d e \sinh (c+d x)-72 a^2 b d f x \sinh (c+d x)+72 a^2 b f \cosh (c+d x)+72 a^3 f \text {Li}_2\left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}-a}\right )+72 a^3 f \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+72 a^3 c f \log \left (\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}+1\right )+72 a^3 d f x \log \left (\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}+1\right )+72 a^3 c f \log \left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}+1\right )+72 a^3 d f x \log \left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}+1\right )+36 a b^2 d e \sinh ^2(c+d x)-9 a b^2 f \sinh (2 (c+d x))+18 a b^2 d f x \cosh (2 (c+d x))-24 b^3 d e \sinh ^3(c+d x)+18 b^3 d f x \sinh (c+d x)-6 b^3 d f x \sinh (3 (c+d x))-18 b^3 f \cosh (c+d x)+2 b^3 f \cosh (3 (c+d x))}{72 b^4 d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.52, size = 2129, normalized size = 6.12 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (f x + e\right )} \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{3}}{b \sinh \left (d x + c\right ) + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.21, size = 671, normalized size = 1.93 \[ \frac {a^{3} f \,x^{2}}{2 b^{4}}-\frac {a^{3} e x}{b^{4}}+\frac {\left (3 d f x +3 d e -f \right ) {\mathrm e}^{3 d x +3 c}}{72 b \,d^{2}}-\frac {a \left (2 d f x +2 d e -f \right ) {\mathrm e}^{2 d x +2 c}}{16 b^{2} d^{2}}+\frac {\left (4 a^{2} d f x -b^{2} d f x +4 a^{2} d e -b^{2} d e -4 a^{2} f +f \,b^{2}\right ) {\mathrm e}^{d x +c}}{8 b^{3} d^{2}}-\frac {\left (4 a^{2}-b^{2}\right ) \left (d f x +d e +f \right ) {\mathrm e}^{-d x -c}}{8 b^{3} d^{2}}-\frac {a \left (2 d f x +2 d e +f \right ) {\mathrm e}^{-2 d x -2 c}}{16 b^{2} d^{2}}-\frac {\left (3 d f x +3 d e +f \right ) {\mathrm e}^{-3 d x -3 c}}{72 b \,d^{2}}+\frac {a^{3} f c \ln \left (b \,{\mathrm e}^{2 d x +2 c}+2 a \,{\mathrm e}^{d x +c}-b \right )}{d^{2} b^{4}}-\frac {2 a^{3} f c \ln \left ({\mathrm e}^{d x +c}\right )}{d^{2} b^{4}}-\frac {a^{3} e \ln \left (b \,{\mathrm e}^{2 d x +2 c}+2 a \,{\mathrm e}^{d x +c}-b \right )}{d \,b^{4}}+\frac {2 a^{3} e \ln \left ({\mathrm e}^{d x +c}\right )}{d \,b^{4}}-\frac {a^{3} f \ln \left (\frac {-b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}-a}{-a +\sqrt {a^{2}+b^{2}}}\right ) x}{d \,b^{4}}-\frac {a^{3} f \ln \left (\frac {-b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}-a}{-a +\sqrt {a^{2}+b^{2}}}\right ) c}{d^{2} b^{4}}-\frac {a^{3} f \ln \left (\frac {b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}+a}{a +\sqrt {a^{2}+b^{2}}}\right ) x}{d \,b^{4}}-\frac {a^{3} f \ln \left (\frac {b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}+a}{a +\sqrt {a^{2}+b^{2}}}\right ) c}{d^{2} b^{4}}-\frac {a^{3} f \dilog \left (\frac {b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}+a}{a +\sqrt {a^{2}+b^{2}}}\right )}{d^{2} b^{4}}-\frac {a^{3} f \dilog \left (\frac {-b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}-a}{-a +\sqrt {a^{2}+b^{2}}}\right )}{d^{2} b^{4}}+\frac {2 a^{3} f c x}{d \,b^{4}}+\frac {a^{3} f \,c^{2}}{d^{2} b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {1}{24} \, e {\left (\frac {24 \, {\left (d x + c\right )} a^{3}}{b^{4} d} + \frac {24 \, a^{3} \log \left (-2 \, a e^{\left (-d x - c\right )} + b e^{\left (-2 \, d x - 2 \, c\right )} - b\right )}{b^{4} d} + \frac {{\left (3 \, a b e^{\left (-d x - c\right )} - b^{2} - 3 \, {\left (4 \, a^{2} - b^{2}\right )} e^{\left (-2 \, d x - 2 \, c\right )}\right )} e^{\left (3 \, d x + 3 \, c\right )}}{b^{3} d} + \frac {3 \, a b e^{\left (-2 \, d x - 2 \, c\right )} + b^{2} e^{\left (-3 \, d x - 3 \, c\right )} + 3 \, {\left (4 \, a^{2} - b^{2}\right )} e^{\left (-d x - c\right )}}{b^{3} d}\right )} - \frac {1}{144} \, f {\left (\frac {{\left (72 \, a^{3} d^{2} x^{2} e^{\left (3 \, c\right )} - 2 \, {\left (3 \, b^{3} d x e^{\left (6 \, c\right )} - b^{3} e^{\left (6 \, c\right )}\right )} e^{\left (3 \, d x\right )} + 9 \, {\left (2 \, a b^{2} d x e^{\left (5 \, c\right )} - a b^{2} e^{\left (5 \, c\right )}\right )} e^{\left (2 \, d x\right )} + 18 \, {\left (4 \, a^{2} b e^{\left (4 \, c\right )} - b^{3} e^{\left (4 \, c\right )} - {\left (4 \, a^{2} b d e^{\left (4 \, c\right )} - b^{3} d e^{\left (4 \, c\right )}\right )} x\right )} e^{\left (d x\right )} + 18 \, {\left (4 \, a^{2} b e^{\left (2 \, c\right )} - b^{3} e^{\left (2 \, c\right )} + {\left (4 \, a^{2} b d e^{\left (2 \, c\right )} - b^{3} d e^{\left (2 \, c\right )}\right )} x\right )} e^{\left (-d x\right )} + 9 \, {\left (2 \, a b^{2} d x e^{c} + a b^{2} e^{c}\right )} e^{\left (-2 \, d x\right )} + 2 \, {\left (3 \, b^{3} d x + b^{3}\right )} e^{\left (-3 \, d x\right )}\right )} e^{\left (-3 \, c\right )}}{b^{4} d^{2}} - 9 \, \int \frac {32 \, {\left (a^{4} x e^{\left (d x + c\right )} - a^{3} b x\right )}}{b^{5} e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a b^{4} e^{\left (d x + c\right )} - b^{5}}\,{d x}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {\mathrm {cosh}\left (c+d\,x\right )\,{\mathrm {sinh}\left (c+d\,x\right )}^3\,\left (e+f\,x\right )}{a+b\,\mathrm {sinh}\left (c+d\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________